@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <input id="versionId" value="${item.versionId}" type="hidden"/>
                    <#input id="versionNo" name="版本号" value="${item.versionNo}" />

                    <div style="display: flex;flex-direction: row;margin-top: 15px;">
                        <label style="margin-left: 20px;margin-right: 15px;">版本描述</label>
                        <textarea id="versionDesc" maxlength="300" rows="5" cols="30" >${item.versionDesc}</textarea>
                    </div>
                    <div style="display: flex;flex-direction: row;margin-top: 15px;">
                        <label style="margin-left: 20px;margin-right: 15px;">繁体描述</label>
                        <textarea id="versionDescTw" maxlength="300" rows="5" cols="30" >${item.versionDescTw}</textarea>
                    </div>
                    <div style="display: flex;flex-direction: row;margin-top: 15px;">
                        <label style="margin-left: 20px;margin-right: 15px;">英文描述</label>
                        <textarea id="versionDescEn" maxlength="300" rows="5" cols="30" >${item.versionDescEn}</textarea>
                    </div>
<!--                            <#input id="versionDesc" name="版本描述" value="${item.versionDesc}" underline="true"/>-->
<!--                            <#input id="versionDescTw" name="繁体描述" value="${item.versionDescTw}" underline="true"/>-->
<!--                            <#input id="versionDescEn" name="英文描述" value="${item.versionDescEn}" underline="true"/>-->
                </div>

                <div class="col-sm-6">
                            <#input id="downloadUrl" name="下载地址" value="${item.downloadUrl}"/>
                            <#input id="platform" name="终端设备" value="${item.platform}" readonly="readonly"/>
                            <#select id="isForce" name="强制更新" >
                                <option value="0">否</option>
                                <option value="1">是</option>
                            </#select>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="VpnAppVersionInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="VpnAppVersionInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/vpn_app_version/vpnAppVersion/vpnAppVersion_info.js"></script>
<script>
    $(function () {
        var item = "${item.isForce}";
        $("#isForce").find("option[value="+item+"]").attr("selected","selected");
    })
</script>
@}
